package com.huanghuai.retail.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.util.Date;

@Data
@ToString
public class PORepositoryDto {
    private String shopName;

    private String shopType;

    private String specs;

    private String wrap;

    private String billNum;

    private String repName;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")

    private LocalDate createTime;
    private String billName;

    private Long goodsId;

    private Integer pAmount;

    private Double pMoney;

    private Integer oAmount;

    private Double oMoney;
}
